package com.kun.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 车辆实体类
 * 		车牌号：
		车架号：
		发动机号：
		类型：
		价格：
 * @author Administrator
 *
 */
@Entity
@Table(name="carInfo")
public class CarEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="carid")
	private String carid;//车牌号
	@Column(name="carVIN")
	private String carVIN;
	@Column(name="carEngineNo")
	private String carEngineNo;//发动机号
	@Column(name="carType")
	private String carType;
	@Column(name="carPrice")
	private float carPrice;
	@Column(name="customerid")
	private int customerid;

	
	
	public String getCarid() {
		return carid;
	}

	public void setCarid(String carid) {
		this.carid = carid;
	}

	public String getCarVIN() {
		return carVIN;
	}

	public void setCarVIN(String carVIN) {
		this.carVIN = carVIN;
	}

	public String getCarEngineNo() {
		return carEngineNo;
	}

	public void setCarEngineNo(String carEngineNo) {
		this.carEngineNo = carEngineNo;
	}

	public String getCarType() {
		return carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}

	public float getCarPrice() {
		return carPrice;
	}

	public void setCarPrice(float carPrice) {
		this.carPrice = carPrice;
	}

	public int getCustomerid() {
		return customerid;
	}

	public void setCustomerid(int customerid) {
		this.customerid = customerid;
	}
	
	
}
